package com.mineoj.model.dto.news;


import com.mineoj.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 新鲜事查询请求
 * @TableName solution
 */

@EqualsAndHashCode(callSuper = true)
@Data
public class NewsQueryRequest extends PageRequest implements Serializable{
    /**
     * id
     */
    private Long id;

    /**
     * 搜索词
     */
    private String searchText;
    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;


    /**
     * 创建用户 id
     */
    private Long userId;


    private static final long serialVersionUID = 1L;
}